<?php
namespace Design\Behavioral\State;

class StateCreated implements State
{


    public function proceedToNext(OrderContext $context)
    {
        $context->setState(new StateShipped());

    }//end proceedToNext()


    public function toString() : string
    {
        return 'created';

    }//end toString()


}//end class
